package com.city.justlisten.service;

import com.city.justlisten.entity.Singer;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Cheng
 * Date: 2021/1/28
 * Time: 22:25
 * Description: No Description
 */
public interface SingerService {
    Boolean addSinger(Singer singer);
    Boolean deleteSinger(Integer id);
    List<Singer> selectByNameSinger(String name);
    List<Singer> selectByPaginationSinger(Integer page, Integer limit);
    List<Singer> selectBySexSinger(Integer sex);
    Singer selectOneSinger(Integer id);
    List<Singer> selectSinger();
    Boolean updateSinger(Singer singer);
}
